package pl.easyshop.core.services.user.group;

import java.util.Set;

import pl.easyshop.core.services.AbstractBaseData;

public class UserGroupData extends AbstractBaseData {

	/** Unique serialization identifier. */
	private static final long serialVersionUID = 2497366243888571142L;

	/** Group name. */
	private String name;
	
	/** Description. */
	private String description;
	
	/** Value <code>true</code> means active group. */
	private boolean enabled;

	private Set<String> roles;
	
	/**
	 * Get name property value.
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * Set name property value.
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * Get description property value.
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * Set description property value.
	 * @param description the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * Get enabled property value.
	 * @return the enabled
	 */
	public boolean isEnabled() {
		return enabled;
	}

	/**
	 * Set enabled property value.
	 * @param enabled the enabled to set
	 */
	public void setEnabled(boolean enabled) {
		this.enabled = enabled;
	}

	/**
	 * Get roles property value.
	 * @return the roles
	 */
	public Set<String> getRoles() {
		return roles;
	}

	/**
	 * Set roles property value.
	 * @param roles the roles to set
	 */
	public void setRoles(Set<String> roles) {
		this.roles = roles;
	}

}
